package com.itheima.test_static;

public class Demo1Static {
    public static void main(String[] args) {
        Student.school = "北大";
        Student stu1 = new Student();
        stu1.name = "张三";
        stu1.age = 23;
        stu1.show();

        Student stu2 = new Student();
        stu2.school = "清华";
        stu2.show();

        stu1.show();
    }
}
class Student{
    String name;
    int age;
    static String school;

    public void show(){
        System.out.println(name+"..."+age+"..."+school);
    }
}